package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.common.dto.TagProducer;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.VipDetailDto;
import com.ttg.model.pojo.BankCardBindingInfo;

import java.util.List;
import java.util.Map;

public interface BankCardBindingInfoDao extends IService<BankCardBindingInfo> {


    List<BankCardBindingInfo> getByCstId(String cstId);

    BankCardBindingInfo getByBankNoAndProduct(String bankCardNumber, String bindingCardProduct);

    List<BankCardBindingInfo> listByBankNoAndProduct(String bankCardNumber, String bindingCardProduct);

    Map<String, Long> mapByBankNoAndProduct(String bankCardNumber, String bindingCardProduct);

    Map<String, Long> existsMapByBankNoAndProduct(List<Map<String, String>> existsWhere);

    List<Long> getVipIdsByTags(List<TagProducer> tags, String key);

}
